package cn.edu.xmu.oomall.order.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 订单概要信息
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class OrderInfoSimpleVo {
    @ApiModelProperty(value = "订单id")
    private Long id;
    @ApiModelProperty(value = "用户id")
    private Long customerId;
    @ApiModelProperty(value = "店铺号")
    private Long shopId;
    @ApiModelProperty(value = "母单id")
    private Long pid;
    @ApiModelProperty(value = "订单状态")
    private Integer state;
    @ApiModelProperty(value = "订单创建时间")
    private LocalDateTime gmtCreate;
    @ApiModelProperty(value = "订单商品优惠前价格")
    private Long originPrice;
    @ApiModelProperty(value = "订单折扣金额")
    private Long discountPrice;
    @ApiModelProperty(value = "运费")
    private Long expressFee;
    @ApiModelProperty(value = "支付的点数")
    private Long point;
    @ApiModelProperty(value = "团购活动id")
    private Long grouponId;
    @ApiModelProperty(value = "预售活动id")
    private Long advancesaleId;
    @ApiModelProperty(value = "快递单号")
    private String shipmentSn;

}
